home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / graphics / model3d.zip / SURFIFF.DOC < prev    next >
Text File  |  1991-09-29  |  3KB  |  53 lines

  1.                          SURFMODL IFF SUPPORT
  2.  
  3. Ken Van Camp
  4. 9/29/91
  5.  
  6. Since I can't afford a VGA monitor right now, but I have a perfectly
  7. good Commodore Amiga sitting next to my PC, I decided I wanted to be
  8. able to display my SURFMODL pictures on the Amiga.  I also wanted to
  9. be able to take advantage of the full palette of the Amiga, which
  10. isn't as large as the VGA but is adequate for most purposes.
  11.  
  12. My solution was to create a specially-compiled version of SURFMODL
  13. which I call SURFIFF.  You will find the executable in the SURFIFF
  14. directory (or wherever you told SURFINST to put it).  To use SURFIFF,
  15. you will have to create a file called SURFIFF.CFG.  It is analogous
  16. to the SURFMODL.CFG file that is read by the regular SURFMODL
  17. program, but I use a separate config file so that you can use the
  18. two programs with two different system types.
  19.  
  20. To create SURFIFF.CFG, start by copying SURFMODL.CFG:
  21.   COPY SURFMODL.CFG SURFIFF.CFG
  22. Then use any standard text editor to edit SURFIFF.CFG, and change
  23. GRSYS to an 11 and GRMODE to a 0.  You are now ready to run SURFIFF.
  24.  
  25. In SURFIFF, no plots will be displayed on the screen; they are all
  26. written to an internal buffer and then dumped to a file after
  27. plotting is complete.  This is important, because unlike most other
  28. programs that convert PC graphics into IFF format, this one is not
  29. based on an image that was originally in PC format.  Instead, the
  30. bitmap is created in a form that is best suited to the Amiga, and the
  31. color palette is selected specifically for the Amiga.
  32.  
  33. If your data file is called MYDATA.SRF, then the resulting IFF file 
  34. will be called MYDATA.IFF.  If you make two plots, the second one will 
  35. just overwrite the first, so make sure you exit SURFIFF and rename the 
  36. file in between.
  37.  
  38. Now you can transfer MYDATA.IFF to your Amiga and display it. 
  39. Personally, I use a public domain program called IBMCOPY (available
  40. on Fish Disk #158), which directly reads PC-format 3-1/2" disks and
  41. converts them to Amiga format.  If you don't have this or something
  42. similar, you can use a Null modem to connect your two computers and
  43. do a binary file transfer between.
  44.  
  45. Once you have the IFF file on an Amiga, you can use an IFF file
  46. viewer to display the picture.  I use a public domain program called
  47. SHOW (I don't have the Fish Disk number handy).
  48.  
  49. WARNING:  Not all IFF viewers seem to be able to display my IFF
  50. files, for some reason.  Commodore's IFFCheck program says there is
  51. nothing wrong with my files, but some IFF viewers choke and Guru on
  52. SURFMODL-generated IFF files (most notably, DPSLIDE).
  53.